package com.libra.assemble.service.mail;

import com.libra.assemble.repository.email.EmailAttachmentDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * 邮件附件信息的业务逻辑.
 * Created by Libra on 15/8/12.
 */
@Component
@Transactional
public class EmailAttachmentService {

    /** 日志信息 */
    private static Logger logger = LoggerFactory.getLogger(EmailAttachmentService.class);

    /** 邮件附件信息的数据访问接口. */
    private EmailAttachmentDao emailAttachmentDao;

    @Autowired
    public void setEmailAttachmentDao(EmailAttachmentDao emailAttachmentDao) {
        this.emailAttachmentDao = emailAttachmentDao;
    }
}
